levelbar: update css nodes even when no offset value is found
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 2 Nov 2016 02:46:10 +0000 (00:46 -0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Nov 2016 16:38:21 +0000 (12:38 -0400)
commit85070839289cdeb281a18eb028a4e7b1e8708dee
treef4b6fceff39699f820962f1a3efdf50eaf31a6c1
parentb8fc4c246ac6ef5cd7eccd477e2b64ea9efffff6
levelbar: update css nodes even when no offset value is found

GtkLevelBar supports adding custom offsets as style classes, and they
are applied whenever the :value property matches. The current code,
however, only updates any CSS nodes when an offset is found, causing
it to not update when a discrete value changes but no custom offset
is added.

Fix that by always updating the CSS nodes.

https://bugzilla.gnome.org/show_bug.cgi?id=773799
gtk/gtklevelbar.c